package Message.Game
{
    import Framework.MQ.*;
    import Framework.Serialize.*;

    public class SOperationOnlineMsg extends Object implements IMessageBase
    {
        public var cmdType:int;
        public var operObj:int;
        public var operValue:int;
        public var operValueEx:int;
        public var operValueEx2:int;
        public var recordId:Number;
        public var operStr:String;
        public const _type:int = 12023;
        public static var _regist:SOperationOnlineMsg = new SOperationOnlineMsg(true);

        public function SOperationOnlineMsg(param1:Boolean = false)
        {
            if (param1)
            {
                MessageManager.instance().regist(this);
            }
            
        }

        public function getType() : int
        {
            return this._type;
        }

        public function clone() : IMessageBase
        {
            return new SOperationOnlineMsg();
        }

        public function __write(param1:SerializeStream) : void
        {
            param1.writeInt(this.cmdType);
            param1.writeInt(this.operObj);
            param1.writeInt(this.operValue);
            param1.writeInt(this.operValueEx);
            param1.writeInt(this.operValueEx2);
            param1.writeLong(this.recordId);
            param1.writeString(this.operStr);
            
        }

        public function __read(param1:SerializeStream) : void
        {
            this.cmdType = param1.readInt();
            this.operObj = param1.readInt();
            this.operValue = param1.readInt();
            this.operValueEx = param1.readInt();
            this.operValueEx2 = param1.readInt();
            this.recordId = param1.readLong();
            this.operStr = param1.readString();
            
        }

    }
}
